#输入10个数,求其平均值,最大值
a = b = c = 0
for i in range(1,11):
    a = int(input('输入第'+str(i)+'个数字'))
    if i == 1 or a > b:
        b = a
    c += a
print('最大值为',b)
print('平均值为',c /10)